<?xml version="1.0" encoding="UTF-8" ?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

	<xsl:template match="HeaderInfo">
   
using System;
using Nullables;


using System.Configuration;

using Castle.ActiveRecord;
using Castle.ActiveRecord.Framework;

using NUnit.Framework;


namespace <xsl:value-of select="ProjectName"/>.ActiveRecord.Tests  
{

	public abstract class NUnitBase
	{
		<![CDATA[
		public static readonly string Test_string="~!@#$%^&;*()_+`1234567890-={}|:\"<>?[]\\;',./qwertyuiopasdfghjklxcvbnm,QWERTYUIOPASDFGHJKLZXCVBNM";
		
		public static readonly DateTime Test_DateTime=DateTime.Now;
		public static readonly NullableDateTime Test_NullableDateTime=DateTime.Now;
		
		public static readonly int Test_int=int.MaxValue;
		public static readonly double Test_double=double.MaxValue;
		public static readonly float Test_float=float.MaxValue;
		
		
		]]>
		
		
		
		
		private SessionScope scope;
		
		public SessionScope Scope 
		{
			get 
			{ 
				return scope; 
			}
			set 
			{ 
				scope = value; 
			}
		}
		
		
		internal void SetUp ()
		{
			scope = new SessionScope();
		}
		
		
		internal void TearDown ()
		{
			scope.Dispose();
		}
		
		

		internal void TestFixtureSetUp ( params Type[] t )
		{
			IConfigurationSource source = 
				ConfigurationSettings.GetConfig("activerecord") as IConfigurationSource;
			
			ActiveRecordStarter.ResetInitializationFlag ();
			
			ActiveRecordStarter.Initialize( source , 
				t );
		}
		

		
		
	
	}


}
		
	</xsl:template>
	
	
</xsl:stylesheet>